package com.hcy.common.dto.response;

import com.hcy.rabbitbasicmodel.signl.Add;
import com.hcy.rabbitbasicmodel.signl.Delete;
import com.hcy.rabbitbasicmodel.signl.Update;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author huchenying
 * @Description
 * @Date 2022/3/15 23:22
 */
@Data
public class GaoDeGfidsResponseDTO {
    /**
     * id
     */
    @NotNull(groups = {Delete.class, Update.class})
    private Integer id;

    /**
     * 高德围栏id
     */
    @NotNull(groups = {Add.class})
    private Integer gfid;

    /**
     * 围栏名称
     */
    @NotNull(groups = {Add.class})
    private String gname;

    /**
     * 围栏详细地址
     */
    @NotNull(groups = {Add.class})
    private String address;

    /**
     * 围栏所属城市
     */
    @NotNull(groups = {Add.class})
    private String city;

    /**
     * 更新时间
     */
    private Date updateTime;
}
